/*****************************************************************************
 
 File:   OTKWorkspaceManager.java
 
 Date          Build     Author        Version    Comments
29-May-12    P-20-54    rkothari          $$1        Created

****************************************************************************/
package com.ptc.otkjavaexamples.ui;

import com.ptc.cipjava.jxthrowable;
import com.ptc.uifc.uifcComponent.uifcComponent;
import com.ptc.uifc.uifcPushButton.DefaultPushButtonListener;
import com.ptc.uifc.uifcPushButton.PushButton;

/* 
 * Listener class for PushButton "Close"    
 */

public class OTKDialogExit extends DefaultPushButtonListener
{	
    /*	 
     *  On activating "Close" button exit dialog. This will eventually destory the dialog
     */
    @Override
	public void OnActivate(PushButton handle) throws jxthrowable
    {
	uifcComponent.ExitDialog(handle.GetDialog(),0);
    }
}
